//
//  theatreCell.m
//  timemovie
//
//  Created by Yiqiao on 15/7/22.
//  Copyright (c) 2015年 Yiqiao. All rights reserved.
//

#import "theatreCell.h"

@implementation theatreCell

- (id)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        
    theatreName = [[UILabel alloc ]initWithFrame:CGRectMake(0, 0, 375, 40)];

    }
    
    return self;
}


- (void)_createSubView{
    

}

- (void)setModel:(theatreModel *)model{
    _model = model;
    NSLog(@"%@",_model.name);
    [self setNeedsLayout];
}

- (void)layoutSubviews{
    [super layoutSubviews];
    
    NSLog(@"%@",_model.name);
    theatreName.text = _model.name;
    
    [self addSubview:theatreName];
    
  
    NSLog(@"%@",theatreName.text);
    

}



- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
